def fact(n):
    s = 1
    for i in range(1, n+1):
        s *= i
    return s


total_num = fact(10)
print(total_num)